package com.tjresearch.redisdbtasktracker.pojo;

import java.util.Date;

public class HfData {
	private int id;
	private int item_id;
	private Date hdate;
	private String value;
	private Date timestamp;//最后更新时间
	private String remark;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getItem_id() {
		return item_id;
	}

	public void setItem_id(int item_id) {
		this.item_id = item_id;
	}

	public Date getHdate() {
		return hdate;
	}

	public void setHdate(Date hdate) {
		this.hdate = hdate;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Date getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "HfData [id=" + id + ", item_id=" + item_id + ", hdate=" + hdate + ", value=" + value + ", timestamp="
				+ timestamp + ", remark=" + remark + "]";
	}
	
	public HfData clone()
	{
		HfData d = new HfData();
		d.setHdate(this.getHdate());
		d.setItem_id(this.getItem_id());
		d.setRemark(this.getRemark());
		d.setTimestamp(this.getTimestamp());
		d.setValue(this.getValue());
		return d;
	}

}
